import type { Metadata } from 'next';

import FloatingContact from '@/components/FloatingContact';
import Footer from '@/components/Footer';
import Navbar from '@/components/Navbar';

import './globals.css';

export const metadata: Metadata = {
  title: '富强木制品（东莞）有限公司-胶合卡板|钢带箱|出口木箱|免检卡板|纸护角',
  description:
    '富强木制品（东莞）有限公司是一家专业生产制造及销售胶合卡板,钢边箱,纸护角,免检卡板,钢带箱,出口卡板,物流用卡板等产品的厂家.在行业内经过多年发展,兢兢业业为客户提供高质量的产品和优质的服务,赢得了知名企业的信赖',
  keywords:
    '胶合卡板,木卡板,出口卡板,物流用卡板,环保木箱,钢边箱,出口木箱,免检卡板,异形卡板,钢带箱,电梯包装箱',
  alternates: {
    canonical: 'https://www.yscgd.com',
  },
  openGraph: {
    title: '富强木制品（东莞）有限公司-专业包装制品生产厂家',
    description:
      '专业生产制造及销售胶合卡板,钢边箱,纸护角,免检卡板,钢带箱,出口卡板,物流用卡板等产品的厂家',
    url: 'https://www.yscgd.com',
    siteName: '富强木制品（东莞）有限公司',
    locale: 'zh_CN',
    type: 'website',
  },
  robots: {
    index: true,
    follow: true,
    googleBot: {
      index: true,
      follow: true,
    },
  },
};

export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="zh-CN">
      <head>
        <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
        <meta name="baidu-site-verification" content="your-verification-code" />
        <meta
          name="format-detection"
          content="telephone=no,email=no,address=no"
        />
        <meta name="renderer" content="webkit" />
        <meta httpEquiv="X-UA-Compatible" content="IE=edge,chrome=1" />
      </head>
      <body className="font-sans antialiased">
        {/* <script type="text/javascript" src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=您的百度地图AK"></script> */}
        <Navbar />
        <main className="min-h-screen">{children}</main>
        <Footer />
        <FloatingContact />
      </body>
    </html>
  );
}
